import random

a = random.randint(1, 5)
b = int(input("请输入数字："))
# b = eval(input("请输入数字"))
print(f"随机数的值：{a}")
print(f"最大值为：{a if a > b else b}")
print("a的值为：%d" % a + "," + " b的值为：%d" % b)
